package com.Archive.firstWeek;

public class Multiplication_table {
    String equation(int x,int y){
        int z = x * y;
        String equation = x + "+" + y + "=" + z;
        return equation;
    }

    void display(){
        int cache = 1;
        for(int i = 1;i < 9 + 1;i++){
            cache++;
            for(int j = 1;j < cache;j++){
                System.out.print(equation(j,i) + "\t");
            }
            System.out.print("\n");
        }
    }
    public static void main(String[] args) {
        Multiplication_table m = new Multiplication_table();
        m.display();
    }
}
